package org.gd.hellojson.jackson.wrapper;

import org.codehaus.jackson.annotate.JsonProperty;

/**
 * @author Gorhover
 * @version 1.0-SNAPSHOT
 * @since 2013-09-18 08:45
 */
@WrappedBy(UserWrapper.class)
class User implements Body {

    @JsonProperty("id")
    private Integer id;
    @JsonProperty("name")
    private String name;
    @JsonProperty("address")
    private Address address;

    Integer getId() {
        return id;
    }

    void setId(Integer id) {
        this.id = id;
    }

    String getName() {
        return name;
    }

    void setName(String name) {
        this.name = name;
    }

    Address getAddress() {
        return address;
    }

    void setAddress(Address address) {
        this.address = address;
    }
}
